package com.jagochan.cart;

import com.jagochan.api.clients.GoodsClient;
import com.jagochan.api.config.FeignConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients(clients = {GoodsClient.class}, defaultConfiguration = {FeignConfig.class})
@MapperScan("com.jagochan.cart.mapper")
@SpringBootApplication
public class CartApp {
    public static void main(String[] args) {
        SpringApplication.run(CartApp.class, args);
    }

}